package org.synclib.example.addressbook;

import java.util.Collections;
import java.util.List;

import org.synclib.model.SyncableList;

public class AddressBook extends SyncableList {

	public AddressBook(String uuid) {
		super(uuid);
	}
	
	public void addContact(Contact contact) {
		add(contact);
	}
	
	public boolean removeContact(Contact contact) {
		return remove(contact);
	}
	
	@Override
	public List<String> getSyncableProperties() {
		return Collections.emptyList();
	}

	@Override
	public String getListTypeIdentifier() {
		return "contact";
	}
	
}
